﻿<UserControl x:Class="Blackbird.Studio.View.EditableFrameView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DataContext="{Binding Source={StaticResource ResourceKey=StaticViewModel}, Path=Instance.EditableFrameViewModel}"
             Width="Auto" Height="Auto">
  <Grid>
        <StackPanel>
            <Image Source="{Binding Model.BitmapSource}" />
            <Button Content="{Binding Path=DisplayName}" Command="{Binding Path=SelectFrameCommand}" Margin="8" /> 
        </StackPanel>
    </Grid>
</UserControl>